package com.home.qh.dao;

import java.util.List;

import com.home.qh.model.Equipment;

/**
 * Role Data Access Object (DAO) interface.
 *
 * @author <a href="mailto:matt@raibledesigns.com">Matt Raible</a>
 */
public interface EquipmentDao extends GenericDao<Equipment, Long> {
    /**
     * Gets role information based on EquipmentDao
     * @param EquipmentDao the EquipmentTypeDao
     * @return populated role object
     */
	List<Equipment> getEquipmentByCodeAndName(String equipmentCode, String equipmentName);
	
	List<Equipment> getEquipmentByEquipment(Equipment equipment, String sort, boolean desc, int startResult, int maxResults);
    
}
